package com.stop.think.shiro.dao;

import com.stop.think.shiro.dao.entity.EmpUsr;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.Optional;

public interface EmpUsrDao extends PagingAndSortingRepository<EmpUsr, Long> {

    Optional<EmpUsr> findByToken(String token);
}
